
<?php 
if(isset($quality_lists) and $quality_lists){
foreach ($quality_lists as $num => $quality_list){?>
<tr>
<th><?php echo $num+1+$current_page ?></th>
<th><?php echo $quality_list['invoice_date'] ?></th>
<th><?php echo $quality_list['recieve_detail_id'] ?></th>
<th><?php echo $quality_list['purchaseorder_id'] ?></th>
<th><?php if($quality_list['export_tax_rebate']==0){
		echo '非出口退税';
	}else{
		echo '出口退税';
	} ;?></th>
<th><?php echo $quality_list['sku'] ?></th>
<th><?php echo $quality_list['sku_name'] ?></th>
<th><?php echo $vmi_warehouse[$quality_list['warehouseid']]; ?></th>
<th><?php echo $enterprise_dominant[$quality_list['enterprise_dominant']]; ?></th>
<th><?php echo $quality_list['sku_standard'] ?></th>
<th><?php echo $quality_list['storage_position'] ?></th>
<th><?php echo Basic::getnameByid($quality_list['supplier_id']) ?></th>
<th><?php echo $quality_list['quantity'] ?></th>
<th><?php echo $quality_list['check_quantity'] ?></th>
<th><?php echo $quality_list['qualified_quantity'] ?></th>
<th><?php echo $quality_list['unquality_count'] ?></th>
<th><?php  
if($quality_list['check_quantity'] > 0)
{ 
	echo round($quality_list['qualified_quantity']/$quality_list['check_quantity']*100,2)."%" ;
}
else 
{
	echo "---";
}; ?></th>

</tr>
<?php }?>
<?php }?>